package com.sms.service.impl;

import com.sms.dao.PersonInfoMapper;
import com.sms.pojo.PersonInfo;
import com.sms.service.PersonInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class PersonInfoServiceImpl implements PersonInfoService {

    @Autowired
    private PersonInfoMapper personInfoMapper;

    @Override
    public List<PersonInfo> selectPerinfById(Integer sid) {
        return personInfoMapper.selectPerinfById(sid);
    }

    @Override
    public List<PersonInfo> selectPerinfAll() {
        return personInfoMapper.selectPerinfAll();
    }
}
